﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResAuthConfigTaskProgress
    {
        /// <summary>
        /// 业务组件标识
        /// </summary>
        public string tagId { get; set; }
        /// <summary>
        /// 配置任务编号
        /// </summary>
        public string taskId { get; set; }
        /// <summary>
        /// 配置开始下载时间(采用ISO8601时间格式，如2019-09-03T17:30:08.000+08:00)
        /// </summary>
        public string startTime { get; set; }
        /// <summary>
        /// 配置结束时间(采用ISO8601时间格式，如2019-09-03T17:30:08.000+08:00)
        /// </summary>
        public string endTime { get; set; }
        /// <summary>
        /// 配置进度
        /// </summary>
        public int percent { get; set; }
        /// <summary>
        /// 配置状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 配置单剩余时间（单位s）
        /// </summary>
        public long leftTime { get; set; }
        /// <summary>
        /// 是否配置结束
        /// </summary>
        public bool isFinished { get; set; }
        /// <summary>
        /// 配置单结束时间
        /// </summary>
        public string configEndTime { get; set; }
        /// <summary>
        /// 配置单总数据量
        /// </summary>
        public int totalNum { get; set; }
        /// <summary>
        /// 配置单成功数量
        /// </summary>
        public int successedNum { get; set; }
        /// <summary>
        /// 配置单失败数量
        /// </summary>
        public int failedNum { get; set; }
        /// <summary>
        /// 配置单重复配置数量(指相同的配置数据重复提交的情况)
        /// </summary>
        public int repeatedNum { get; set; }
        /// <summary>
        /// 是否配置单入库结束
        /// </summary>
        public bool isConfigFinished { get; set; }
        /// <summary>
        /// 配置单计算通道总数
        /// </summary>
        public int calcChannelTotalNum { get; set; }
        /// <summary>
        /// 配置单计算通道成功数
        /// </summary>
        public int calcChannelSuccessNum { get; set; }
        /// <summary>
        /// 配置单计算通道失败数
        /// </summary>
        public int calcChannelFailedNum { get; set; }
    }
}
